package com.pro.service.imple;

import com.pro.mapper.JsUserReturnRefuseMapper;
import com.pro.pojo.JsUserOrder;
import com.pro.service.JsUserReturnRefuseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:JsUserReturnPendingServiceImple
 * Package:com.pro.service.imple
 * Description:
 *
 * @Date:2021/11/12 下午 3:57
 * @Author: WYH
 */
@Service
public class JsUserReturnRefuserServiceImple implements JsUserReturnRefuseService {

    @Autowired(required = false)
    private JsUserReturnRefuseMapper jsUserReturnRefuseMapper;

    @Override
    public List<JsUserOrder> getAllReGoo(String orderPaymentChannel, String orderSource) {
        List<JsUserOrder> allReGoo = jsUserReturnRefuseMapper.getAllReGoo(orderPaymentChannel, orderSource);
        return allReGoo;
    }

    @Override
    public int count(String orderPaymentChannel, String orderSource) {
        int count = jsUserReturnRefuseMapper.count(orderPaymentChannel, orderSource);
        return count;
    }

    @Override
    public Boolean delReGoo(Integer orderId) {
        Boolean aBoolean = jsUserReturnRefuseMapper.delReGoo(orderId);
        return aBoolean;
    }
}
